package com.li.controller;

import com.li.utils.FileMoveUtil;
import io.swagger.annotations.Api;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import org.thymeleaf.util.ListUtils;

import java.io.File;
import java.util.List;

@Log4j2
@RestController
@Api(tags = "文件菜单")
public class file {

    @PostMapping("/moveFile")
    public Object moveFile(String src, String dest) {
        Integer integer = FileMoveUtil.moveFile(src, dest);


        return integer;
    }


}
